lib/repo: Change resolve_keyring_for_collection() to return a remote
authorPhilip Withnall <withnall@endlessm.com>
Thu, 21 Sep 2017 15:00:05 +0000 (16:00 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 27 Sep 2017 16:38:07 +0000 (16:38 +0000)
commit22c1fdfbd320379a09f4a670126bc28cdc383b87
treed31c9c1f08f25eb838a37c542ff7e686237d7625
parent030d2b1525a49c356210c18f57655afd9f474b4f
lib/repo: Change resolve_keyring_for_collection() to return a remote

Instead of returning just the keyring filename, return the entire
OstreeRemote, which has the keyring filename as one of its members. This
will simplify some upcoming changes, and allows slightly improved debug
logging.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1202
Approved by: cgwalters
src/libostree/ostree-repo-finder-avahi.c
src/libostree/ostree-repo-finder-mount.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.h